package com.ruoyi.record.service;

import java.util.List;

import com.ruoyi.record.domain.RecordData;
import com.ruoyi.record.domain.ServiceRecord;

/**
 * 跟进记录Service接口
 * 
 * @author dj
 * @date 2025-06-27
 */
public interface IServiceRecordService 
{
    /**
     * 查询跟进记录
     * 
     * @param recordid 跟进记录主键
     * @return 跟进记录
     */
    public ServiceRecord selectServiceRecordByRecordid(Long recordid);

    /**
     * 查询跟进记录列表
     * 
     * @param serviceRecord 跟进记录
     * @return 跟进记录集合
     */
    public List<ServiceRecord> selectServiceRecordList(ServiceRecord serviceRecord);

    /**
     * 新增跟进记录
     * 
     * @param serviceRecord 跟进记录
     * @return 结果
     */
    public int insertServiceRecord(ServiceRecord serviceRecord);

    /**
     * 修改跟进记录
     * 
     * @param serviceRecord 跟进记录
     * @return 结果
     */
    public int updateServiceRecord(ServiceRecord serviceRecord);

    /**
     * 批量删除跟进记录
     * 
     * @param recordids 需要删除的跟进记录主键集合
     * @return 结果
     */
    public int deleteServiceRecordByRecordids(Long[] recordids);

    /**
     * 删除跟进记录信息
     * 
     * @param recordid 跟进记录主键
     * @return 结果
     */
    public int deleteServiceRecordByRecordid(Long recordid);
//联表查询跟进记录信息
    List<RecordData> selectList(RecordData serviceRecord);
}
